package com.fce.fcesystem.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Description: json格式数据：{"total": ,"rows": }
 */
@Data
@NoArgsConstructor
public class TableResult<E> implements Serializable {
    private Integer total;
    private E rows;

    public TableResult(Integer total, E rows) {
		super();
		this.total = total;
		this.rows = rows;
	}
	public Integer getTotal() {
		return total;
	}
	public void setTotal(Integer total) {
		this.total = total;
	}
	public E getRows() {
		return rows;
	}
	public void setRows(E rows) {
		this.rows = rows;
	}

}

